﻿Public Module FunctionModule
    Public Function IIf(Of T)(expression As Boolean, data1 As T, data2 As T) As T
        If expression Then
            Return data1
        Else
            Return data2
        End If
    End Function

    Public Function Chr(i As Integer) As Char
        Return Convert.ToChar(i)
    End Function
End Module
